<?php

$qwollowname = "Incomplete Profile";
$qwollowdescription = "This tests for followers with incomplete Twitter profiles. An incomplete profile may be an indicator the account is used for spam.";
$qwollowauthor = "Chirplace";
$qwollowauthorurl = "http://www.chirplace.com";
$qwollowavatar = "http://www.boostpost.com/chirplace.com/images/cplogo.gif";

//the return value indicates the degree of success.

function qwollowfy($Follower)
{

	$result = 0;
	$step=7.14;

//	if ($Follower->notifications!=null)
//		$result += $step;
	if ($Follower->profile_background_image_url!=null)
		$result += $step;
	if ($Follower->description!=null)
		$result += $step;
	if ($Follower->profile_link_color!=null)
		$result += $step;
	if ($Follower->status!=null)
		$result += $step;
	if ($Follower->profile_background_tile!=null)
		$result += $step;
	if ($Follower->profile_background_color!=null)
		$result += $step;
	if ($Follower->profile_sidebar_fill_color!=null)
		$result += $step;
	if ($Follower->profile_sidebar_border_color!=null)
		$result += $step;
	if ($Follower->url!=null)
		$result += $step;
	if ($Follower->profile_image_url!=null)
		$result += $step;
	if ($Follower->location!=null)
		$result += $step;
	if ($Follower->name!=null)
		$result += $step;
	if ($Follower->geo_enabled!=null)
		$result += $step;
	if ($Follower->profile_text_color!=null)
		$result += $step;
		
	$result++;
	return round($result, 0);
	
}

?> 
